/*    */ package system.staros.ablock1;
/*    */ 
/*    */ import java.io.FileInputStream;
/*    */ import java.io.IOException;
/*    */ import java.util.Properties;
/*    */ 
/*    */ public class SysUtils
/*    */ {
/* 10 */   static Properties SYSTEM_PROPERTIES = new Properties();
/*    */ 
/*    */   public static Properties getSystemProperties() {
/*    */     try { SYSTEM_PROPERTIES.load(new FileInputStream("system/staros/config.properties"));
/*    */     } catch (IOException localIOException) {
/*    */     }
/* 16 */     return SYSTEM_PROPERTIES;
/*    */   }
/*    */   public static String getVersion() {
/* 19 */     String str = new String(getSystemProperties().getProperty("version"));
/* 20 */     return str;
/*    */   }
/*    */   public static String getCoreVersion() {
/* 23 */     return getSystemProperties().getProperty("core");
/*    */   }
/*    */ 
/*    */   public static String getSystemType() {
/* 27 */     return getSystemProperties().getProperty("type");
/*    */   }
/*    */   public static String getCodeName() {
/* 30 */     return getSystemProperties().getProperty("buildname");
/*    */   }
/*    */   public static boolean checkVersionCompatability(LibBase paramLibBase, AppBase paramAppBase) {
/* 33 */     return paramLibBase.getVersion() == paramAppBase.getVersion();
/*    */   }
/*    */   public static void shutdown() {
/* 36 */     System.exit(0);
/*    */   }
/*    */ 
/*    */   public static void reboot()
/*    */     throws Exception
/*    */   {
/*    */   }
/*    */ }

/* Location:           D:\Марк\!IMPORTANT\staros\archive\version-2.260.zip
 * Qualified Name:     system.staros.ablock1.SysUtils
 * JD-Core Version:    0.6.1
 */